Skip to content

Conversation

@csviri
Copy link
Contributor

@csviri csviri commented Aug 18, 2025

What is the purpose of the change

Allow to set flinkConfiguration as yaml, not just key/value pairs.

Brief change log

  • changes CRD to allow set flinkConfiguration as yaml not just key/value pairs
  • changed type of AbstractFlinkSpec.flinkConfiguration it now accepts yaml.
  • adjusted CRD checker to allow such changes

Verifying this change

  • adjusted e2e tests to the new format
  • added test for CRD migration

Does this pull request potentially affect one of the following parts:

  • Dependencies (does it add or upgrade a dependency): no
  • The public API, i.e., is any changes to the CustomResourceDescriptors: yes
  • Core observer or reconciler logic that is regularly executed: yes

Documentation

  • Does this pull request introduce a new feature? yes
  • If yes, how is the feature documented? JavaDocs

csviri added 6 commits August 18, 2025 09:09
Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Attila Mészáros <[email protected]>
@csviri csviri changed the title Add support for structured YAML config in FlinkDeployment CRD [WIP][FLINK-37406] Add support for structured YAML config in FlinkDeployment CRD Aug 18, 2025
Signed-off-by: Attila Mészáros <[email protected]>
csviri added 4 commits August 19, 2025 11:34
Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Attila Mészáros <[email protected]>
csviri added 4 commits August 20, 2025 12:26
Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Attila Mészáros <[email protected]>
@csviri csviri marked this pull request as ready for review August 20, 2025 11:59
@csviri csviri requested a review from gyfora August 20, 2025 11:59
@csviri csviri changed the title [WIP][FLINK-37406] Add support for structured YAML config in FlinkDeployment CRD [FLINK-37406] Add support for structured YAML config in FlinkDeployment CRD Aug 20, 2025
csviri added 3 commits August 20, 2025 14:29
Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Attila Mészáros <[email protected]>
Signed-off-by: Attila Mészáros <[email protected]>

<dependency>
<groupId>org.assertj</groupId>
<artifactId>assertj-core</artifactId>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This dependency is now added twice if I see correctly

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch fixed

Copy link
Contributor

@gyfora gyfora left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good aside from the single duplicated test dependency :)

Signed-off-by: Attila Mészáros <[email protected]>
@gyfora gyfora merged commit 37e3c84 into apache:main Aug 21, 2025
117 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants